package com.net.xpay.core.dao.auto;

import com.net.xpay.core.domain.auto.AutoPayReceiptAccount;
import com.net.xpay.core.model.AutoPayReceiptAccountSearchModel;
import com.net.common.annotation.DataShard;
import com.net.common.dao.Page;
import com.net.common.dao.VersionedMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataShard("xpay")
@Repository
public interface AutoPayReceiptAccountMapper extends VersionedMapper<Long, AutoPayReceiptAccount> {
    List<AutoPayReceiptAccount> search(@Param("searchModel") AutoPayReceiptAccountSearchModel searchModel, @Param("page") Page page);

    long searchCount(@Param("searchModel") AutoPayReceiptAccountSearchModel searchModel);
}
